package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产线production对象 line_production
 *
 * @author ruoyi
 * @date 2024-06-23
 */
public class LineProduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产线id */
    private Integer id;

    /** 产线名称 */
    @Excel(name = "产线名称")
    private String name;

    /** 产线归属用户名 */
    @Excel(name = "产线归属用户名")
    private String sysUserName;

    @Excel(name = "用户发送的控制消息")
    private String controlMessage;

    /** 用户发送的控制消息 */
    @Excel(name = "设备发送的状态消息")
    private String serviceMessage;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSysUserName(String sysUserName)
    {
        this.sysUserName = sysUserName;
    }

    public String getSysUserName()
    {
        return sysUserName;
    }
    public String getControlMessage() {
        return controlMessage;
    }
    public void setControlMessage(String controlMessage) {
        this.controlMessage = controlMessage;
    }

    public String getServiceMessage() {
        return serviceMessage;
    }
    public void setServiceMessage(String serviceMessage) {
        this.serviceMessage = serviceMessage;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("sysUserName", getSysUserName())
                .append("remark", getRemark())
                .toString();
    }
}
